package com.ming.service;

import com.lly835.bestpay.model.PayResponse;
import com.lly835.bestpay.model.RefundResponse;
import com.ming.dto.OrderDTO;

/**支付
 * Created by LIANG on 2018/3/25.
 */
public interface PayService {

    PayResponse create(OrderDTO orderDTO);

    /**
     * 异步通知回调
     * @param notifyData
     * @return
     */
    PayResponse  asyncNotify(String notifyData);

    /**
     * 退款
     * @param orderDTO
     * @return
     */
    RefundResponse refund(OrderDTO orderDTO);


}
